package com.blog.entity.mid;

/**
 * @author 蒲鑫
 * @function 功能：中间表userLike的全部信息
 * @date 2023年6月1日
 */
public class PostLike {
	private int postLikeId;//点赞id

	private int postId;//帖子id

	private int userId;//用户id

	public int getPostLikeId() {
		return postLikeId;
	}

	public void setPostLikeId(int postLikeId) {
		this.postLikeId = postLikeId;
	}

	public int getPostId() {
		return postId;
	}

	public void setPostId(int postId) {
		this.postId = postId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	@Override
	public String toString() {
		return "PostLike [postLikeId=" + postLikeId + ", postId=" + postId + ", userId=" + userId + "]";
	}

	public PostLike(int postLikeId, int postId, int userId) {
		super();
		this.postLikeId = postLikeId;
		this.postId = postId;
		this.userId = userId;
	}

	public PostLike() {
		super();
	}
	
}
